*******************/
/* Universal Styles */
/********************/

body {
  height:100vh;
  background-image:url(../static/images/flood.jpg);
  -webkit-background-size:cover;
  -moz-background-size:cover;
  -o-background-size:cover;
  background-size:cover;
}

html,
body,
.water,
.water .map {
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}

body,
input,
textarea,
select,
button,
keygen,
isindex {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
}

section, header, nav, footer {
    display:block;
}

/*****************/
/* Header Styles */
/*****************/

#pageheader {
  position:fixed;
  top:0px;
  left:0px;
  height:90px;
  width:100%;
}

header {
  height:100%;
  width:100%;
}

#tool-title {
  font-size: 28px;
}

.logos {
  position:relative;
  margin:0px;
  width:100%;
  height:55px;
  background-color:#fff;
}

.logos img#usaid {
  position:absolute;
  top:5px;
  left:30px;
  width:150px;
}

.logos img#nasa {
  position:absolute;
  top:0px;
  left:210px;
  width:60px;
}

.logos img#adpc {
  position:absolute;
  top:9px;
  left:300px;
  width:80px;
}

.logos img#servir {
  position:absolute;
  top:12px;
  right:30px;
  width:250px;
}

nav {
  position:relative;
  margin:0px;
  width:100%;
  height:35px;
  background-color:#3a3a3a;
  color:#eee;
}

nav ul {
  position:absolute;
  top:0px;
  margin-top:7px;
}

nav ul li {
  display:inline;
  list-style-type:none;
  padding:2px;
  cursor:pointer;
}

nav ul li #Tool5button,
nav ul li #Tool4button,
nav ul li #homebutton,
nav ul li #helpbutton,
nav ul li #aboutbutton {
  font-family:Roboto;
  font-size:16px;
  background-color: #3a3a3a;
  border: none;
}

nav ul li #feedbacklink {
  margin-left: 10px;
  font-family:Roboto;
  font-size:16px;
  background-color: #3a3a3a;
  color: #eee;
}

/***********************/
/* Page Content Styles */
/***********************/

#pagecontent {
  position:fixed;
  top:35px;
  left:0px;
  height:calc(100vh - 35px);
  width:100%;
  background-color:rgba(255,255,255,0.2);
}

#pagecontent a {
  color:#444;
  text-decoration:none;
}

#pagecontent a:hover {
  text-shadow:0px 0px 4px #333;
}

#pagecontent #all-pages {
  position:relative;
  height:100%;
  width:100%;
}

/*****************/
/* Footer Styles */
/*****************/

#pagefooter {
  position:fixed;
  bottom:0px;
  left:0px;
  height:55px;
  width:100%;
}

footer {
  height:100%;
  width:100%;
  border-top:1px solid #3a3a3a;
}

.logos img#deltares {
  position:absolute;
  top:7px;
  left:0px;
  width:100px;
}

.logos img#sig {
  position:absolute;
  top:5px;
  left:150px;
  width:200px;
}

.logos img#sei {
  position:absolute;
  top:5px;
  left:400px;
  width:175px;
}

.logos img#gee {
  position:absolute;
  top:7px;
  right:5px;
  width:250px;
}

/****************************/
/* About and help Pages */
/****************************/

#about,
#help {
  display:none;
  position:absolute;
  top:0%;
  left:10%;
  height:calc(100vh - 90px - 55px);
  width:76%;
  padding:2%;
  overflow:auto;
  background:rgba(255, 255, 255, 0.8);
  font-family:Roboto;
  font-size:16px;
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF, endColorstr=#CCFFFFFF);
  -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF, endColorstr=#CCFFFFFF);
}

#about h1
 {
  font-size:1.8rem;
  font-weight:bold;
  padding:0.5rem;
  color:gray;
}
#help h1
{
font-size:1.7rem;
  font-weight:bold;
  padding:0.5rem;
  color:#282727;
}
#about p,
#help p {
  padding:0.5rem;
  font-size:1.4rem;
}

#help span {
  font-size:1.4rem;
}

#workflow_img {
  width: 800px;
  margin: 10px 0px;
  margin-left: 50px;
}

.example_items {
  display: inline-block;
  margin-top: 10px;
}

.example_item {
  display: flex;
  margin-bottom: 25px;
  left: 0px;
  align-items: top;
}

.example_item  img {
  width: 175px;
  height: 150px;
  margin-right: 10px;
  cursor: pointer;
}

.example_img {
  margin-top: 5px;
}

/*****************************************/
/* Application Page Top Level Components */
/*****************************************/

.water .ui {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 445px;
  z-index: 1;
}

.water .panel {
  border-radius: 2px;
  max-height: 93vh !important;
  background-color: white;
  padding: 15px 15px 80px;
  box-shadow: 0px 0px 5px gray;
  overflow-y: scroll;
  margin-bottom: 0;
  min-height: 93vh !important;
}

.water header {
  padding-bottom: 5px;
}

.water h1 {
  margin-top: 0;
  margin-bottom: 0;
}

.water .collapse-button {
  display: inline;
  font-size: 20px;
  float: right;
  cursor: pointer;
  transform: rotate(180deg);
}
.mapboxgl-ctrl-top-right.mapboxgl-ctrl-top-right-reposition {
  left: 15px;
  top: 60px;
}

.water .settings-button {
  display: none;
  position: absolute;
  left: 0px;
  background-color: white;
  width: 40px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0px 0px 5px gray;
  cursor: pointer
}

.water .general-info-button {
  margin-right: 10px;
}

.water .instructions {
  font-size: 12.5px;
  margin-bottom: 8px;
}

/*****************************/
/* Application Page Controls */
/*****************************/

.water .controls {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-end;
}

.water .inputs {
  display: inline-block;
  flex-grow: 8;
}

.water .expert {
  margin-top: -5px;
  margin-left: 68px;
}

.water .expert-toggle {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  margin-top: 15px;
}

.water .expert-message {
  font-weight: bold;
}

.water .expert-instructions {
  font-weight: bold;
  font-style: italic;
}

.water .expert-input {
  display: none;
  margin-top: 15px;
  overflow-y: auto;
}

.water .expert-input-block-label {
  font-weight: normal;
  display: inline-block;
  width: 65px;
  font-size: 12px;
}

.water .climatology-input,
.water .defringe-input {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.water .percentile-input-perm,
.water .percentile-input-temp {
  width: 20%;
  display: inline;
}

.water .water-threshold-input,
.water .veg-threshold-input,
.water .hand-threshold-input,
.water .cloud-threshold-input {
  width: 20%;
  display: inline;
}

.water .climatology-info-button,
.water .defringe-info-button {
  position: relative;
  bottom: 8px;
}

.water .reset-button {
  margin-top: 10px;
  margin-bottom: 0px;
  margin-left: 65px;
}

.water .expert-reset {
  margin-left: 3px;
}

.water .btn.export {
  display: inline-block;
  margin-left: 10px;
}

.water .input-block {
  display: block;
  margin-top: 7px;
}

.water .input-block.date {
  margin-bottom: 0px;
  margin-top: 0px;
}

.water .input-block.region {
  height: 28px;
}

.water .input-block.region ul {
  display: inline-block;
  list-style-type: none;
  margin-left: -48px;
}

.water .input-block.region ul li{
  display: inline-block;
  margin-left: 8px;
  padding: 2px;
  vertical-align: middle;
}

.water .input-block.region ul li label {
  font-size: 12px;
  font-weight: normal;
  vertical-align: middle;
  margin-left: 5px;
}

.water .input-block-label {
  font-weight: normal;
  display: inline-block;
  width: 65px;
}

.water .date-type-picker input[type=radio] {
  vertical-align: top;
  margin-top: 2px;
}

.water .date-type-picker label {
  font-style: italic;
  font-weight: normal;
}

.water .date-type-picker .or {
  padding: 0 .3em;
}

.water .period_slice {
  margin-left: 7px;
  margin-right: 7px;
}

.water .submit {
  margin-left: 10px;
  margin-bottom: 0px;
}

.water .range-picker,
.water .average-picker {
  display: block;
}

.water .filename {
  width: 43%;
  display: inline;
  font-size: 12px;
}

.water .date-picker {
  display: inline-block;
  
}

.water .date-picker-2 {
  display: inline-block;
  
}

.water .region .message {
  font-style: italic;
  color: gray;
}

.water .region .message-drawing,
.water .region .message-selected {
  display: none;
}

.water .region.selected .message,
.water .region.drawing .message {
  display: none;
}

.water .region.drawing .message-drawing {
  display: inline;
}

.water .region.selected .message-selected {
  display: inline;
  color: green;
  font-style: normal;
}

.water .region.selected .message-selected .clear {
  color: black;
}

.water .export-info-button {
  margin-left: 5px;
}
/*
.water #monthsControlSlider {
  display: show;
  left: 15px;
  bottom: 120px;
  position: absolute;
}
*/
.water .months-slider {
  display: none;
  margin-left: -43px;
  margin-top: 30px;
}
.water #monthsControlSlider {
  margin-left: 30px;
}

/********************************/
/* Application Page Info Panels */
/********************************/

.water .general-info,
.water .legend-info,
.water .climatology-info,
.water .defringe-info,
.water .percentile-info,
.water .water-threshold-info,
.water .veg-threshold-info,
.water .hand-threshold-info,
.water .cloud-threshold-info,
.water .export-info {
  display: none;
}

.water .general-info-shown {
  display: inline;
  position: absolute;
  right: 455px;
  top: 7px;
  padding: 15px;
  margin-top: -5px;
  width: 450px;
  border-radius: 2px;
  background-color: white;
  box-shadow: 0px 0px 5px gray;
  overflow: auto;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: normal;
}

.water .legend-info-shown {
  display: inline;
  position: absolute;
  left: 158px;
  bottom: 5px;
  padding: 10px;
  margin-bottom: -5px;
  width: 380px;
  border-radius: 2px;
  background-color: white;
  box-shadow: 0px 0px 5px gray;
  overflow: auto;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: normal;
}

.water .climatology-info-shown,
.water .defringe-info-shown,
.water .percentile-info-shown,
.water .water-threshold-info-shown,
.water .veg-threshold-info-shown,
.water .hand-threshold-info-shown,
.water .cloud-threshold-info-shown {
  display: block;
  position: fixed;
  top: 56%;
  right: 465px;
  transform: translate(0%, 0%);
  padding: 15px;
  width: 450px;
  border-radius: 2px;
  background-color: white;
  box-shadow: 0px 0px 5px gray;
  font-size: 12px;
  overflow: auto;
  margin-bottom: 0;
  z-index: 2;
}

.water .export-info-shown {
  display: block;
  position: fixed;
  top: 56%;
  right: 465px;
  padding: 15px;
  margin-top: -5px;
  width: 450px;
  height: 235px;
  border-radius: 2px;
  background-color: white;
  box-shadow: 0px 0px 5px gray;
  overflow: auto;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: normal;
}

/*******************************/
/* Application Page Map Layers */
/*******************************/

.water .map-layers-control {
  display: block;
  margin-top: 0px;
}

.water .map-layers-text {
  display: inline;
  margin-bottom: 5px;
  float: left;
}

.water .map-layers {
  display: block;
}
nav li button {
    text-decoration: none;
    color: #ffffff;
}

.water .map-layers-value {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  width: 100%;
}
.slider.slider-horizontal {
    width: 230px;
 }
.map-layers-cont {
    display: flex;
    width: 35%;
}
.map-layers-cont span {
    font-size: 15px;
    font-weight: 600;
}

.water #checkbox-aoi,
.water #checkbox-hand,
.water #checkbox-water {
    margin-right: 10px;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    box-shadow: 0 0px 1px 1px rgb(0 0 0 / 48%);
    cursor: pointer;
}

/*.water #aoiControlSlider {
  margin-left: 20px;
  width: 60px;
}

.water #handControlSlider {
  margin-left: 55px;
  width: 60px;
}

.water #waterControlSlider {
  margin-left: 59px;
  width: 60px;
}*/

.water #aoiControlSlider .slider-selection,
.water #handControlSlider .slider-selection,
.water #waterControlSlider .slider-selection {
  background: #dee2e6;
  box-shadow: none;
}

.slider.slider-horizontal .slider-track {
    background: #dee2e6;
     box-shadow: none;
}
.slider-handle {
    background: #0d6efd;
}

/*.water #aoiControlSlider .slider-selection,
.water #handControlSlider .slider-selection,
.water #waterControlSlider .slider-selection {
  background: #D3D3D3;
}*/

.water #handControlSlider .tooltip {
  display: none
}

/***************************/
/* Application Page Legend */
/***************************/

.water .legend {
  display: block;
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 143px;
  margin-top: 0px;
  padding: 6px 6px 1px 6px;
  background-color: white;
  border-radius: 2px;
  box-shadow: 0px 0px 5px gray;
  z-index: 1;
}

.water .legendt3{

  height: 182px;
    display: block;
    position: static;
    left: 10px;
    bottom: 10px;
    width: 45px;
    margin-top: 0px;
    padding: 6px -4px 1px 6px;
    background-color: white;
    border-radius: 2px;
    box-shadow: 0px 0px 5px gray;
    z-index: 1;
    border: 1px solid #000;
}

.gradient-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
  #4575b4 0%,
  #91bfdb 20%,
  #e0f3f8 40%,
  #ffffbf 50%,
  #fee090 60%,
  #fc8d59 80%,
  #d73027 100%
    /* #d73027 0%,
    #fc8d59 20%,
    #fee090 40%,
    #ffffbf 50%,
    #e0f3f8 60%,
    #91bfdb 80%,
    #4575b4 100% */
    ); 
}

.legend-contentt3 {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.legend-textt3 {
  margin-bottom: 50px;
}


.plust3 {
  position: relative;
    top: -17px;
    font-weight: bold;
}

.minust3 {
  position: relative;
    bottom: -157px;
    font-weight: bold;
}


.Legend-sec {
  display: none;
  position: fixed;
  bottom: 120px;
  right: 20px;
  padding: 20px;
  width: auto;
  height: auto;
  background-color: white;
  color: black;
}

.water .legend-text {
  font-weight: bold;
  margin-left: 3px;
  margin-bottom: 5px;
}

.water .legend-info-button {
  margin-left: 62px;
}

.water .legend-tabs {
  overflow: hidden;
  background-color: #ffffff;
  padding-bottom: 8px;
}

.water .legend-tabs  button{
  background-color: inherit;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  cursor: pointer;
  padding: 10px 16px;
  margin-right: -3px;
  transition: 0.3s;
  font-size: 12px;
}

.water .legend-tabs button.active {
  border: 1px solid #ccc;
  border-bottom: none;
  font-weight: bold;
}

.water .legend-tab-content {
  display: none;
  padding: 0px 6px;
}

.water .legend-value {
  font-size: 12px;
  margin-bottom: 10px;
  display: block;
  align-items: center;
}
/* .water {
  font-size: 12px;
  margin-bottom: 10px;
  display: block;
  align-items: center;
}
.water {
  font-size: 12px;
  margin-bottom: 10px;
  display: block;
  align-items: center;
}

.water {
  min-width: 40px;
  height: 38px;
  margin-right: 79px;
  border: #bbb solid 1px;
  background-color: #D3D3D3;
} */
.water .legend-value1 {
    display: flex; /* Use flexbox to align items horizontally */
    align-items: center; /* Center items vertically */
    margin-bottom: 5px;
}
.water .legend-value2 {
  display: flex; /* Use flexbox to align items horizontally */
  align-items: center; /* Center items vertically */
  margin-bottom: 5px;

}

.water .legend-block {
    width: 40px; /* Adjust width as needed */
    height: 20px; /* Adjust height as needed */
    margin-right: 5px; /* Adjust spacing between block and text */
    display: inline-block; /* Make it inline-block to allow inline placement */
}

/*****************************/
/* Application Page Warnings */
/*****************************/

.water .warnings {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 200px;
  border-radius: 2px;
  background-color: white;
  padding: 10px;
  box-shadow: 0px 0px 5px red;
  text-align: center;
  font-size: 12px;
  font-weight: normal;
  font-style: italic;
  overflow: auto;
  margin-bottom: 0;
  z-index: 4;
}

/***********************************/
/* Application Page Download Panel */
/***********************************/

.water .download_panel {
  display: none;
  position: absolute;
  top: 30px;
  left: 20px;
  width: 250px;
  overflow: auto;
  padding: 5px;
  background-color: white;
  box-shadow: 0px 0px 5px gray;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: normal;
  font-style: italic;
  z-index: 2;
}

.water #download_prep {
  display: none;
}

.water #link1,
.water #link2,
.water #link3,
.water #link4,
.water #link_metadata {
  display: none;
}

/******************/
/* Spinner Widget */
/******************/

.spinner {
    display: none;
    position: fixed;
    top: auto;
    left: auto;
    padding: 5px 25px;
    right: 470px;
    background: #0d6efde0;
    bottom: 30px;
    height: 30px;
    color: #fff;
    border-radius: 5px;
}


.loading-export {
    display: none;
    position: fixed;
    top: auto;
    left: auto;
    padding: 5px 25px;
    right: 470px;
    background: #0d6efde0;
    bottom: 30px;
    height: 30px;
    color: #fff;
    border-radius: 5px;
}


/*************************/
/* Application Page Rest */
/*************************/

.water .water {
  flex-grow: 1;
}

.water .water:disabled {
  color: gray;
}


.slect-c >div {
  display: flex;
  width: 100%;
}
.slect-c select {
    width: 70%;
    margin-right: 2%;
}
.slect-c label {
    font-size: 16px;
    margin-bottom: 5px;
}

.select-date-sec {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.select-date-sec >div {
    width: 48%;
}
.select-date-sec input {
    width: 100% !important;
}
.select-date-bottom-sec {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 20px;
}

.select-date-bottom-sec .toggle-switcher-css {
    display: flex;
    align-items: center;
}

.select-date-bottom-sec .toggle-switcher-css label {
    font-size: 20px;
    margin-right: 10px;
    font-weight: 600;
    line-height: 0;
}

.form-switch .form-check-input {
    width: 35px;
    height: 20px;
}
.select-date-sec .input-block-label, .select-date-sec span.period_slice, .slect-c label, span#tool-title {
    font-weight: 600;
    }
    .heading-title h1 {
    font-size: 24px;
    margin-bottom: 20px;
    }


.lyr-cntrl-swtch-tog {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: center;
    width: 50%;
    margin: auto 12% 2% auto;
}

.lyr-cntrl-swtch-tog p {
    margin: 0px;
}

.lyr-cntrl-swtch-tog  >div {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.mp-lyr-cntrl-downld-btn {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0px;
}
.legend-note-btn {
    display: flex;
    justify-content: flex-end;
}

.legend-note-btn button {
    background: #fff;
    color: #0d6efd;
    border: none;
}
.legend-note-btn button:hover {
    color: #fff;
    background: #0d6efd;
    border: none;
}
/* ToolTip */
.tooltip-cont {
  position: relative;
  display: inline-block;
}

.tooltip-cont .tooltip-context {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 100;
  border-radius: 6px;
  padding: 5px 3px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -30px;
  opacity: 0;
  transition: opacity 0.3s;
  text-transform: capitalize;
}

.tooltip-cont .tooltip-context::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip-cont:hover .tooltip-context {
  visibility: visible;
  opacity: 1;
}

.tooltip-cont i {
  color: #0d6efd;
  font-size: 15px;
}
.tooltip-cont .input-block-label p 
{
    white-space: nowrap;
}
/* ToolTip End */


/* Popup start */
/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  bottom: 23px;
  right: 28px;
  width: 280px;
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #04AA6D;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}
/* Popup end */ 


/* Map controls  start*/
.mapboxgl-ctrl-group:not(:empty) {
    box-shadow: none !important; 
}
body .mapboxgl-ctrl-top-right .mapboxgl-ctrl{
  float: left;
}

.mapboxgl-ctrl-group button {
    width: 29px;
    height: 29px;
    display: block;
    padding: 0;
    outline: none;
    border: 0;
    box-sizing: border-box;
    background-color: white !important;
    margin: 11px auto;
    cursor: pointer;
    border-radius: 50%;
    /* border: 1px solid #0c0c0c; */
    box-shadow: 0 0 0 2px rgb(0 0 0 / 10%);
}
body .mapboxgl-ctrl-top-right{
  z-index: 1;
  left: 470px;
  top: 0;
}
.mapboxgl-ctrl-group {
    border-radius: 4px;
    background: transparent !important;

}
.mapboxgl-ctrl-group button:focus:first-child, .mapboxgl-ctrl-group button:focus:last-child {
    border-radius: 50% !important;
}
/* Map controls  end*/

section#pagefooter {
    display: none !important;
}

a.mapboxgl-ctrl-logo {
    display: none;
}

.mapboxgl-ctrl-attrib-inner {
    display: none;
}

.invalid {
    border: 5px solid red !important;
}

.abt-page-headings {
  color: #1f4687;
}

.main-heading {
  color: #1f4687 !important;
  text-align: center;
}

.about-ul {
  font-size: 19px;
}

div#myModal .modal-content {
    border-radius: 0 !important;
}

.modal-dialog {
    max-width: 600px !important;
    width: 90% !important;
    margin: 25vh auto !important;
}
div#myModal.modal.fade.show {
    opacity: 1;
    display: block;
}
#myModal .relative-class
{
  width: 80%;
}


div#myModal .modal-content button#close-modal-btn {
    float: right;
}

.modal-p {
  font-size: 16px !important;
}

.modal {
    overflow-y: hidden !important;
}
/* Help page CSS */
.main_heading_cont {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding-bottom: 15px;
}
div#help #help-btn {
   
    font-size:15px;
    background:#0259f9;
    color:#fff;
    padding:15px 25px;
    border:1px solid #0259f9;
    border-radius:5px;
    letter-spacing:0.1em;
    font-weight:200;
    box-shadow: 0 0 3px 0px #0259f9;
}
div#help #help-btn:hover
{
    color:#0259f9;
    background:#fff;
    text-shadow:none;
}
#help ol li {
        color: #0259f9;
    font-size: 1.2em;
    font-weight: 600;
}
/* Help page CSS end */
/* The Modal (background) */
.modal_3d {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 350px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content_3d {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #fff;
    width: 30%;
    box-shadow: 0 0 3px #fff;
}
.modal-content_3d p 
{
    font-size: 1.5em;
    color: #000;
    text-align: center;
    line-height: 2;
}
/* The Close Button */
.close_3d {
  color: #4b90f6;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -15px;
}

.close_3d:hover,
.close_3d:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}



/* New tools CSS*/
.slect-c .panel_box {
  display: block;
}
.panel_box .select-tool {
  border-bottom: 4px solid #707070;
  padding-bottom: 20px;
  padding: 18px 0;
}
/* .panel_box .select-tool label {
  font-size: 35px;
  margin: 0 0 5px;
  font-family: 'Roboto';
}
.panel_box .select-tool select{
  border-radius: 0;
  max-width: 390px;
  min-height: 48px;
  font-size: 20px;
  font-family: 'Roboto';
} */
.slect-c .body-one {
  padding: 18px 0;
  display: block;
}
.body-one>div {
  margin-bottom: 20px;
}
.body-one label {
  color: #0970B7;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  margin: 10px 0 5px;
  font-family: 'Roboto';
  position: relative;
}
.body-one select {
  max-width: 48%;
  border-radius: 0;    
  font-family: 'Roboto';
}
.slect-c .body-one .date-picker, .slect-c .body-one .date-picker-2{
  width: -webkit-fill-available;
}
.body-one .select-date {
  display: flex;
  justify-content: space-between;
}
.body-one .select-date select {                
  max-width: 100%;    
  font-family: 'Roboto';
}
.body-one .select-date .selec-op{
  width: 48%;
}
.tooltip-cont {
  display: contents;
}
.tooltip-cont i{

}
.tooltip-context {                
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 100;
  border-radius: 6px;
  padding: 5px 3px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -30px;
  opacity: 0;
  transition: opacity 0.3s;
  text-transform: lowercase;
}
.tooltip-cont:hover .tooltip-context {
  visibility: visible;
  opacity: 1;
}
.body-one .threshold-value-1 .threshold-value-2 input[type="text"] {
  width: 100%;
  display: block;
  border-radius: 0;
  border: 1px solid #ced4da;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  max-width: 320px;    
  font-family: 'Roboto';
}
.body-one .form-check .form-check-input{
  float: right;
  display: flex;
  justify-content: space-between;
  width: 60%;
  font-size: 20px;    
  font-family: 'Roboto';
}
.body-one .switcher-box .form-switch {
  width: 20%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.body-one .switcher-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  width: 100%;
}
.body-one .switcher-box button, .choose-graph button{
  opacity: 1;
  background-color: #0970B7;
  border-color: #0970B7;    
  font-family: 'Roboto';
}
.choose-graph select {
  max-width: 65%;
}
.layer-control h3 {
  font-size: 35px;
  margin: 0 0 5px;    
  font-family: 'Roboto';
}
.controlers .form-check label {
  font-size: 15px;
  font-weight: 600;
  text-transform: capitalize;
  font-family: 'Roboto';
  color: #212529;
}
.body-one .layer-control {
  border-top: 4px solid #707070;
  padding: 20px 0;
  margin: 20px 0;
}
.layer-control .controlers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}
.layer-control .controlers .transparency-range {
  text-align: center;
}
.layer-control .controlers .transparency-range label{
  font-size: 15px;
  font-weight: 600;
  text-transform: capitalize;
  font-family: 'Roboto';
  color: #212529;
}
.layer-control .water-check .form-check {
  padding: 0;
}
.panel_box footer {
  width: 100%;
  border: none;
  position: absolute;
  bottom: 0;
  height: auto;
  left: 0;
  background: #fff;
}
.panel_box footer .f-top{
  padding: 10px 22px;
}
.panel_box footer .f-top a {
  font-size: 16px;
  font-weight: 700;
  text-transform: capitalize;
  font-family: 'Roboto';
  color: #000;
  text-decoration: none;
}
.panel_box footer .f-bottom {
  background: #0970b7;
  padding: 10px 22px;
}
.panel_box footer .f-bottom ul {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin: 0;
}
#pagecontent .panel_box footer .f-bottom ul li a {
  color: #fff;
  text-decoration: none;
  padding: 0 20px 0 0;
  font-weight: 500;
  text-transform: capitalize;
  font-family: 'Roboto';
}
.panel_box footer .f-bottom ul li:last-child a{
  padding: 0;
}
/* .settings-button {
  position: absolute;
  left: 10px;
  top: 10px;
  background-color: white;
  width: 40px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0px 0px 5px grey;
  cursor: pointer;
} */
.button_close{
  box-shadow: none;
  left: 90%;
  top: 0;
}
.graph-show a {
  width: 100%;
  display: block;
  border: 1px solid #707070;
  min-height: 220px;
  
  position: relative;
}
.graph-show a:before {
  content: '\f08e';
  top: 0;
  right: 5px;
  font-family: 'FontAwesome';
  color: #000;
  position: relative;
  position: absolute;

  
  
}
.slect-c .body-one.t-2 .switcher-box{
  width:100%
}
.threshold-value-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media screen and (max-width:1024px) {
}
@media screen and (max-width:767px) {
}

.showButton {

  display: flex;
  justify-content: center;
  gap: 20px;
  

}

/* Style the modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

/* Style the modal content */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  /* max-width: 600px; */
}

/* Style the close button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* extra */
.map-overlay.top {
  position: absolute;
  bottom: 10px;
  left: 0;
  border-radius: 2px;
  background-color: #ffffff8f;
  padding: 15px;
  box-shadow: 0px 0px 5px gray;
  display: flex;
  align-items: center;
  /* width: fit-content; */
  z-index: 1;
  right: 0;
  max-width: 860px;
  width: 100%;
  margin: auto;
  justify-content: center;
  flex-wrap: wrap;
}

.map-overlay.top h2 {font-size: 28px;font-weight: 700;min-width: fit-content;margin: 0 10px 0 0;}
.map-overlay-range {
  display: flex;
  align-items: center;
  margin: 0 0 0 15px;
}

.map-overlay-btns {
  display: flex;
  align-items: center;
}

.map-overlay-range input {
  margin: 0 15px;
}

.map-overlay-range label, .map-overlay-range p {
  min-width: fit-content;
  margin: 0;
  font-size: 18px;
}



.map-overlay-btns button {
  margin: 0 5px;
}
.site-loader {
  width: 100%;
  height: 100%;
  background: #54545440;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
.site-loader-cont {
  display: block;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
}